package com.wr.recruit.service.utils;

//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;

import java.util.Arrays;
import java.util.LinkedList;
import java.util.List;

public class APIResponseSet<T> extends APIResponse {
    public final List<T> results;

    public APIResponseSet(Boolean success, String message) {
        this(success, message, Arrays.asList());
    }

    public APIResponseSet(Boolean success, String message, List<T> results) {
        super(success, message);
        this.results = new LinkedList<>();
        this.results.addAll(results);
    }
}
